package com.shwread.android.qysw.bean.que;

import java.io.Serializable;
import java.util.List;

/**
 * 题目info
 */
public class QueInfo implements Serializable {
    /**
     * 题目id
     */
    private int id;
    /**
     * 题目类型
     */
    private String itemType;
    /**
     * 限制输入字体数量(文字题)
     */
    private int maxLength;
    /**
     * 题头
     */
    private String title;
    /**
     * 选中的内容选项
     */
    private List<OptionSelectedInfosBean> optionSelectedInfos;
    /**
     * 题目内容列表
     */
    private List<QueOptionBean> questionnaireItemOptionInfos;

    public int getMaxLength() {
        return maxLength;
    }

    public void setMaxLength(int maxLength) {
        this.maxLength = maxLength;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<OptionSelectedInfosBean> getOptionSelectedInfos() {
        return optionSelectedInfos;
    }

    public void setOptionSelectedInfos(List<OptionSelectedInfosBean> optionSelectedInfos) {
        this.optionSelectedInfos = optionSelectedInfos;
    }

    public List<QueOptionBean> getQuestionnaireItemOptionInfos() {
        return questionnaireItemOptionInfos;
    }

    public void setQuestionnaireItemOptionInfos(List<QueOptionBean> questionnaireItemOptionInfos) {
        this.questionnaireItemOptionInfos = questionnaireItemOptionInfos;
    }

    public static class OptionSelectedInfosBean implements Serializable {
        /**
         * 该题对应的内容
         */
        private String answer_content;
        /**
         * 文件类型
         */
        private int file_type;
        /**
         * 选中的选项id
         */
        private int optionId;

        public String getAnswer_content() {
            return answer_content;
        }

        public void setAnswer_content(String answer_content) {
            this.answer_content = answer_content;
        }

        public int getFile_type() {
            return file_type;
        }

        public void setFile_type(int file_type) {
            this.file_type = file_type;
        }

        public int getOptionId() {
            return optionId;
        }

        public void setOptionId(int optionId) {
            this.optionId = optionId;
        }
    }

    public static class QueOptionBean implements Serializable {
        /**
         * 选项id
         */
        private int id;
        /**
         * 选项内容
         */
        private String option_content;
        /**
         * 选项分值 int;
         */
        private int score;
        /**
         * 排序号 int  1：A  2：B  3：C  4：D
         */
        private int sortNum;

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public int getSortNum() {
            return sortNum;
        }

        public void setSortNum(int sortNum) {
            this.sortNum = sortNum;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getOption_content() {
            return option_content;
        }

        public void setOption_content(String option_content) {
            this.option_content = option_content;
        }
    }
}
